package com.aijk.ehm.sys.model.qo;

import com.aijk.commons.mijo.PageQo;

import java.util.List;

/**
 * <p>  </p>
 * User: chendw
 * Date: 2016/11/15 17:06
 */
public class SysAdminQo extends PageQo {

    private String username;
    private String usernameLike;

    /**
     * <pre>
     * 子公司ID
     * 表字段 : sys_admin.company_id
     * </pre>
     *
     */
    private Long companyId;

    /**
     * <pre>
     * 姓名
     * 表字段 : sys_admin.name
     * </pre>
     *
     */
    private String name;
    private String nameLike;

    /**
     * <pre>
     * 联系电话
     * 表字段 : sys_admin.tel
     * </pre>
     *
     */
    private String tel;
    private String telLike;

    /**
     * <pre>
     * 0、正常1、禁用 
     * 表字段 : sys_admin.admin_state
     * </pre>
     *
     */
    private Short adminState;

    /**
     * <pre>
     * 用户类型
     1 超级管理员，默认拥有所有该系统权限
     2 普通管理员，只允许有授权的系统权限

     * 表字段 : sys_admin.admin_type
     * </pre>
     *
     */
    private Short adminType;

    /**
     * 角色ID
     */
    private List<Integer> roleIds;

    /**
     * ID集合
     */
    private List<Integer> adminIdList;

    private Integer adminIdNotEqual;

    public String getUsernameLike() {
        return usernameLike;
    }

    public void setUsernameLike(String usernameLike) {
        this.usernameLike = usernameLike;
    }

    public String getNameLike() {
        return nameLike;
    }

    public void setNameLike(String nameLike) {
        this.nameLike = nameLike;
    }

    public String getTelLike() {
        return telLike;
    }

    public void setTelLike(String telLike) {
        this.telLike = telLike;
    }

    private Byte sysFlag;

    public Byte getSysFlag() {
        return sysFlag;
    }

    public void setSysFlag(Byte sysFlag) {
        this.sysFlag = sysFlag;
    }

    public Integer getAdminIdNotEqual() {
        return adminIdNotEqual;
    }

    public void setAdminIdNotEqual(Integer adminIdNotEqual) {
        this.adminIdNotEqual = adminIdNotEqual;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Short getAdminState() {
        return adminState;
    }

    public void setAdminState(Short adminState) {
        this.adminState = adminState;
    }

    public Short getAdminType() {
        return adminType;
    }

    public void setAdminType(Short adminType) {
        this.adminType = adminType;
    }

    public List<Integer> getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List<Integer> roleIds) {
        this.roleIds = roleIds;
    }

    public List<Integer> getAdminIdList() {
        return adminIdList;
    }

    public void setAdminIdList(List<Integer> adminIdList) {
        this.adminIdList = adminIdList;
    }

    @Override
    public String toString() {
        return "SysAdminQo{" +
                "name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", adminState=" + adminState +
                ", adminType=" + adminType +
                ", roleIds=" + roleIds +
                "} " + super.toString();
    }
}
